package org.ddd.specification.jpa;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;

public interface JpaPredicateBuilder<X> {

    Predicate toPredicate(Root<X> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder);

}
